package com.traffic.service;

import java.util.List;
import com.traffic.domain.PerOuoutSourcing;

/**
 * 外聘人员Service接口
 * 
 * @author 郭世纪
 * @date 2024-12-08
 */
public interface IPerOuoutSourcingService 
{
    /**
     * 查询外聘人员
     * 
     * @param id 外聘人员主键
     * @return 外聘人员
     */
    public PerOuoutSourcing selectPerOuoutSourcingById(Long id);

    /**
     * 查询外聘人员列表
     * 
     * @param perOuoutSourcing 外聘人员
     * @return 外聘人员集合
     */
    public List<PerOuoutSourcing> selectPerOuoutSourcingList(PerOuoutSourcing perOuoutSourcing);

    /**
     * 新增外聘人员
     * 
     * @param perOuoutSourcing 外聘人员
     * @return 结果
     */
    public int insertPerOuoutSourcing(PerOuoutSourcing perOuoutSourcing);

    /**
     * 修改外聘人员
     * 
     * @param perOuoutSourcing 外聘人员
     * @return 结果
     */
    public int updatePerOuoutSourcing(PerOuoutSourcing perOuoutSourcing);

    /**
     * 批量删除外聘人员
     * 
     * @param ids 需要删除的外聘人员主键集合
     * @return 结果
     */
    public int deletePerOuoutSourcingByIds(Long[] ids);

    /**
     * 删除外聘人员信息
     * 
     * @param id 外聘人员主键
     * @return 结果
     */
    public int deletePerOuoutSourcingById(Long id);
}
